package com.yitiao.multithread;

public class MainTest {
    public static void main(String[] args) {
        for (int i = 0; i < 5; i++) {
            new Thread(()->
                    System.out.println(Thread.currentThread().getName()),
                    "Thread-"+i)
                    .start();
        }
    }
}
